import { IFeidaoAiNodejsComponent } from '@feidao/web/interfaces';

import P01 from './P01';

import nodejs from '@feidao/web/atom/nodejs/msg/nodejs';
import render from '@feidao/web/atom/nodejs/render/render';

export default async function na001(fd: IFeidaoAiNodejsComponent, ...args: any[]) {
	// 组件初始化
	console.log('zj-exam-arrange-001 init n', args);
	const res = await nodejs(fd.data.spaceid, "exam_find", {});
	render(fd.data.node, res.dataArray, P01, 'P01');
}
